package com.example.pacs.enums;

import lombok.Getter;

@Getter
public enum PacsExceptionEnum {

    INSERT_DCM_MESSAGE_ERROR(100001, "dcm信息入库异常!"),

    JPG_FILE_NOT_EXISTS(100002, "JGP文件不存在!")
    ;

    private final Integer errorCode;

    private final String errorMsg;

    PacsExceptionEnum (Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
